package com.cp.admin.modular.user.model;

import java.io.Serializable;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * vip单价设置（可扩展）
 * </p>
 *
 * @author lkaeiou123
 * @since 2020-08-26
 */
@TableName("product_price")
public class ProductPrice extends Model<ProductPrice> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 单价 单位：元/天
     */
    private BigDecimal price;
    /**
     * 备注
     */
    private String remarks;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ProductPrice{" +
        "id=" + id +
        ", price=" + price +
        ", remarks=" + remarks +
        "}";
    }
}
